package com.dd.ent.car.common.player;

import java.util.concurrent.atomic.AtomicReference;

/**
 * Author:LiuJianSheng
 * Date:2016/7/28
 */
public class AttachAuxEffectMessage extends PlayerMessage {
    private int effectId;

    public AttachAuxEffectMessage(MediaPlayerWrapper mediaPlayer, AtomicReference<PlayerMessageState> messageState, int effectId) {
        super(mediaPlayer);
        this.effectId = effectId;
    }

    @Override
    public void runMessage() {
        getMediaPlayer().attachAuxEffect(effectId);
    }
}
